package org.example.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.entity.Permissions;
import org.example.mapper.PermissionsMapper;
@Service
public class PermissionsService extends ServiceImpl<PermissionsMapper, Permissions> {
    public List<Permissions> selectPermissionsTree(){
        return baseMapper.selectPermissionsTree(0);
    }
}
